import numpy as np
from scipy.linalg import det

if __name__ == '__main__':
    # 定义一个 2x2 矩阵
    matrix = np.array([[1, 2], [3, 4]], dtype=np.int64)
    print(det(matrix))
